using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._CrimeAnalysisandSafetyTools._CellPhoneAnalysis
{
    /// <summary>
    /// <para>Generate Sector Lines</para>
    /// <para>Creates line features that represent the extent of cell site antenna sectors.</para>
    /// <para>创建表示蜂窝基站天线扇区范围的线要素。</para>
    /// </summary>    
    [DisplayName("Generate Sector Lines")]
    public class GenerateSectorLines : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public GenerateSectorLines()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_site_features">
        /// <para>Input Cell Site Points</para>
        /// <para>The point feature class derived from the Cell Site Records to Feature Class or Cell Phone Records to Feature Class tool.</para>
        /// <para>从蜂窝基站记录到要素类或手机记录到要素类工具派生的点要素类。</para>
        /// </param>
        /// <param name="_out_feature_class">
        /// <para>Output Sector Lines</para>
        /// <para>The output feature class containing the sector lines.</para>
        /// <para>包含扇区线的输出要素类。</para>
        /// </param>
        public GenerateSectorLines(object _in_site_features, object _out_feature_class)
        {
            this._in_site_features = _in_site_features;
            this._out_feature_class = _out_feature_class;
        }
        public override string ToolboxName => "Crime Analysis and Safety Tools";

        public override string ToolName => "Generate Sector Lines";

        public override string CallName => "ca.GenerateSectorLines";

        public override List<string> AcceptEnvironments => ["MDomain", "MResolution", "MTolerance", "XYDomain", "XYResolution", "XYTolerance", "ZDomain", "ZResolution", "ZTolerance", "autoCommit", "configKeyword", "extent", "geographicTransformations", "maintainAttachments", "outputCoordinateSystem", "outputMFlag", "outputZFlag", "outputZValue", "qualifiedFieldNames", "scratchWorkspace", "workspace"];

        public override object[] ParameterInfo => [_in_site_features, _out_feature_class];

        /// <summary>
        /// <para>Input Cell Site Points</para>
        /// <para>The point feature class derived from the Cell Site Records to Feature Class or Cell Phone Records to Feature Class tool.</para>
        /// <para>从蜂窝基站记录到要素类或手机记录到要素类工具派生的点要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Cell Site Points")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_site_features { get; set; }


        /// <summary>
        /// <para>Output Sector Lines</para>
        /// <para>The output feature class containing the sector lines.</para>
        /// <para>包含扇区线的输出要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Sector Lines")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_feature_class { get; set; }


        public GenerateSectorLines SetEnv(object MDomain = null, object MResolution = null, object MTolerance = null, object XYDomain = null, object XYResolution = null, object XYTolerance = null, object ZDomain = null, object ZResolution = null, object ZTolerance = null, int? autoCommit = null, object configKeyword = null, object extent = null, object geographicTransformations = null, object outputCoordinateSystem = null, object outputMFlag = null, object outputZFlag = null, object outputZValue = null, bool? qualifiedFieldNames = null, object scratchWorkspace = null, object workspace = null)
        {
            base.SetEnv(MDomain: MDomain, MResolution: MResolution, MTolerance: MTolerance, XYDomain: XYDomain, XYResolution: XYResolution, XYTolerance: XYTolerance, ZDomain: ZDomain, ZResolution: ZResolution, ZTolerance: ZTolerance, autoCommit: autoCommit, configKeyword: configKeyword, extent: extent, geographicTransformations: geographicTransformations, outputCoordinateSystem: outputCoordinateSystem, outputMFlag: outputMFlag, outputZFlag: outputZFlag, outputZValue: outputZValue, qualifiedFieldNames: qualifiedFieldNames, scratchWorkspace: scratchWorkspace, workspace: workspace);
            return this;
        }

    }

}